import {createRouter, createWebHistory} from "vue-router"

const routes = [
    {
        path: "/",
        component: () => import("@/views/index.vue"),
    },
    {
        path: "/login",
        component: () => import('@/views/admin/login.vue'),
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router
